#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int main()
{
	char str[] = "c 27 6.1";
	char c = 0;
	int i = 0;
	double e = 0;
	sscanf(str, "%c %d %lf", &c, &i, &e);
	printf("%c,%d.%lf", c, i, e);
	return 0;
}